\doxysection{logger.\+h}
\hypertarget{test_2logger_8h_source}{}\label{test_2logger_8h_source}\index{test/logger.h@{test/logger.h}}
\mbox{\hyperlink{test_2logger_8h}{Go to the documentation of this file.}}
\begin{DoxyCode}{0}
\DoxyCodeLine{00001\ }
\DoxyCodeLine{00007\ \textcolor{preprocessor}{\#ifndef\ LOGGER\_H}}
\DoxyCodeLine{00008\ \textcolor{preprocessor}{\#define\ LOGGER\_H}}
\DoxyCodeLine{00009\ }
\DoxyCodeLine{00010\ \textcolor{preprocessor}{\#include\ <string>}}
\DoxyCodeLine{00011\ \textcolor{preprocessor}{\#include\ <vector>}}
\DoxyCodeLine{00012\ \textcolor{preprocessor}{\#include\ <ctime>}}
\DoxyCodeLine{00013\ \textcolor{preprocessor}{\#include\ <sstream>}}
\DoxyCodeLine{00014\ \textcolor{preprocessor}{\#include\ <iomanip>}}
\DoxyCodeLine{00015\ \textcolor{preprocessor}{\#include\ <fstream>}}
\DoxyCodeLine{00016\ }
\DoxyCodeLine{00022\ \textcolor{keyword}{class\ }\mbox{\hyperlink{class_mag_logger}{MagLogger}}\ \{}
\DoxyCodeLine{00023\ \textcolor{keyword}{public}:}
\DoxyCodeLine{00024\ \ \ \ \ \mbox{\hyperlink{class_mag_logger}{MagLogger}}()\ \{\}}
\DoxyCodeLine{00025\ \ \ \ \ \mbox{\hyperlink{class_mag_logger}{\string~MagLogger}}()\ \{\}\ }
\DoxyCodeLine{00026\ \ \ \ \ std::string\ currentTime();}
\DoxyCodeLine{00035\ \ \ \ \ \textcolor{keywordtype}{void}\ \mbox{\hyperlink{class_mag_logger_aa52e41fe1302a56ec26856cd062b291f}{debug}}(\textcolor{keyword}{const}\ std::string\&\ message);}
\DoxyCodeLine{00042\ \ \ \ \ \textcolor{keywordtype}{void}\ \mbox{\hyperlink{class_mag_logger_adc2763b218ec03d8ecbb6bf00cc64a28}{info}}(\textcolor{keyword}{const}\ std::string\&\ message);}
\DoxyCodeLine{00049\ \ \ \ \ \textcolor{keywordtype}{void}\ \mbox{\hyperlink{class_mag_logger_abacc186e35e7a98e37edd8981c19454d}{warning}}(\textcolor{keyword}{const}\ std::string\&\ message);}
\DoxyCodeLine{00056\ \ \ \ \ \textcolor{keywordtype}{void}\ \mbox{\hyperlink{class_mag_logger_a4dc582a17edb8e04890939de3be12880}{error}}(\textcolor{keyword}{const}\ std::string\&\ message);}
\DoxyCodeLine{00063\ \ \ \ \ \textcolor{keywordtype}{void}\ \mbox{\hyperlink{class_mag_logger_a8f2476196fafaf6bd65c9da863a7d059}{fatal}}(\textcolor{keyword}{const}\ std::string\&\ message);}
\DoxyCodeLine{00064\ }
\DoxyCodeLine{00065\ \ \ \ \ std::vector<std::string>\&\ getDebugLog()\ \{\ \textcolor{keywordflow}{return}\ debugLog;\ \}}
\DoxyCodeLine{00066\ \ \ \ \ std::vector<std::string>\&\ getInfoLog()\ \{\ \textcolor{keywordflow}{return}\ infoLog;\ \}}
\DoxyCodeLine{00067\ \ \ \ \ std::vector<std::string>\&\ getWarningLog()\ \{\ \textcolor{keywordflow}{return}\ warningLog;\ \}}
\DoxyCodeLine{00068\ \ \ \ \ std::vector<std::string>\&\ getErrorLog()\ \{\ \textcolor{keywordflow}{return}\ errorLog;\ \}}
\DoxyCodeLine{00069\ \ \ \ \ std::vector<std::string>\&\ getFatalLog()\ \{\ \textcolor{keywordflow}{return}\ fatalLog;\ \}}
\DoxyCodeLine{00070\ \ \ \ \ std::vector<std::string>\&\ getAllLog()\ \{\ \textcolor{keywordflow}{return}\ magAllLog;\ \}}
\DoxyCodeLine{00071\ \textcolor{keyword}{public}:}
\DoxyCodeLine{00072\ \ \ \ \ \textcolor{keywordtype}{void}\ exportLog(\textcolor{keyword}{const}\ std::string\&\ fileName);}
\DoxyCodeLine{00073\ \textcolor{keyword}{private}:}
\DoxyCodeLine{00074\ \ \ \ \ std::vector<std::string>\ magAllLog;}
\DoxyCodeLine{00075\ \ \ \ \ std::vector<std::string>\ debugLog;}
\DoxyCodeLine{00076\ \ \ \ \ std::vector<std::string>\ infoLog;}
\DoxyCodeLine{00077\ \ \ \ \ std::vector<std::string>\ warningLog;}
\DoxyCodeLine{00078\ \ \ \ \ std::vector<std::string>\ errorLog;}
\DoxyCodeLine{00079\ \ \ \ \ std::vector<std::string>\ fatalLog;}
\DoxyCodeLine{00080\ \};}
\DoxyCodeLine{00081\ }
\DoxyCodeLine{00082\ \textcolor{preprocessor}{\#endif\ }\textcolor{comment}{//\ LOGGER\_H}}

\end{DoxyCode}
